//add by sunbo
var host = window.location.protocol + '//' + window.location.host;
//host="http://10.110.67.38";
//var ssoHost = host.indexOf('test') > -1 ? 'http://localhost:9100' : 'http://localhost:9100';
var ssoHost = host.indexOf('9010') > -1 ? window.location.protocol + '//' + window.location.host : 'http://10.110.67.38';

window.config = {
  oauthHost: host + '/api',
  redirectHost: host,
  client_id: 'api',
  scope: 'read',
  secret: 'c31b32364ce19ca8fcd150a417ecce58',
  apiHost: host + '/api',
  portalHost: host,
  ssoUri: ssoHost + '/sso/index.html',
  ssoLogoutUri: ssoHost + '/logout'
};
